/*
 * @Descripttion:
 * @version:
 * @Author: seehar
 * @Date: 2021-10-03 18:41:29
 * @LastEditors: seehar
 * @LastEditTime: 2021-10-04 16:51:26
 */
import { request } from "@/network/request.js";

/**
 * @description: 获取党史列表
 * @param {*} params
 * @return {*}
 */
export function getPartyHistoryList (params) {
  return request({
    url: "all/",
    params: params
  })
}

/**
 * @description: 获取党史详情
 * @param {*} id
 * @return {*}
 */
export function getPartyHistoryDetail (id) {
  return request({
    url: `${id}`,
  })
}